#!/usr/bin/python3
# @Time    : 2018/5/26 下午 13:45:35  
# @Author  : LaoJI

from app import create_app
from app.models.base import db

app = create_app()


# 生成数据库
with app.app_context():
    db.create_all()

if __name__ == '__main__':
    app.run(host='0.0.0.0', debug=app.config["DEBUG"])
